package com.xyh.flowershop.vo.resp.cart;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 小约翰可汗
 * @className CartPageRespVo
 * @createTime 2024/5/59:55
 */
@Data
public class CartPageRespVo {

    @Schema(description = "编号")
    private String id;

    @Schema(description = "商品名称")
    private String goodName;

    @Schema(description = "商品编号")
    private String goodId;

    @Schema(description = "商品图片")
    private String goodImgUrl;

    @Schema(description = "是否选中")
    private Boolean isCheck;

//    @Schema(description = "原总价")
//    private BigDecimal totalPrice;
//
//    @Schema(description = "当前价格")
//    private BigDecimal currentTotalPrice;

    @Schema(description = "当前单价")
    private BigDecimal goodPrice;

    @Schema(description = "数量")
    private Integer count;

    // 库存量
    @Schema(description = "库存量")
    private Integer stockNum;

    @Schema(description = "是否停售")
    private Boolean isStop;


}
